package com.mutual.app.pojo;

import lombok.Data;

@Data
public class AppResult {

	private String status;
	
	private String msg;
	
	private Object data;
	
	public AppResult (){
		this.status=STATUS_SUCCESS;
	}
	
	public AppResult (String status){
		this.status=status;
	}
	
	public static final String STATUS_SUCCESS="success";
	
	public static final String STATUS_FAILED="failed";
	
	public static final String MSG_SELECT_SUCCESS="查询成功";
	
	public static final String MSG_ADD_SUCCESS="添加成功";
	
	public static final String MSG_UPDATE_SUCCESS="更新成功";
	
	public static final String MSG_SELECT_FAILED="查询失败";
	
	public static final String MSG_ADD_FAILED="添加失败";
	
	public static final String MSG_UPDATE_FAILED="更新失败";
}
